/********************************************************************
* Copyright (c) 2014,TGS,All rights reserved.
* fileName:	ResampleType.h	
* created:	2014/04/05 10:11
* author:	TGS
* version:	1.0
*********************************************************************/

#pragma once
#include <QString>

enum ResampleType
{
	ResampleType_Nearest = 0,
	ResampleType_Gauss = 1,
	ResampleType_Average = 2,
	ResampleType_Average_Magphase = 3
};

struct ResampleTypeMeaning
{
	QString operator()(ResampleType type)
	{
		switch(type)
		{
		case  ResampleType_Nearest:
			return "NEAREST";
		case ResampleType_Gauss:
			return "GAUSS";
		case ResampleType_Average:
			return "AVERAGE";
		case ResampleType_Average_Magphase:
			return "AVERAGE_MAGPHASE";
		}

		return "unknow";
	}
};